import http from '../utils/http'
export default {
    //考生人脸识别
    getPhoto(params) {
        return http.post('/api' + '/app/getPhoto', params)
    },
    //考官人脸识别
    ExaminerFaceCheck(params) {
        return http.post('/api' + '/app/ExaminerFaceCheck', params)
    },
    //保存考生信息
    // addRecord(params) {
    //     return http.post('/api' + '/app/addRecord', params)
    // },
    //查看得分点
    getPoint(questionId) {
        return http.get('/api' + '/app/getPoint/' + questionId)
    },
    //上传签名
    uploadsign(examinerId) {
        return http.get('/api' + '/app/uploadSign/' + examinerId)
    },
    //提交表单
    updateRecord(params) {
        return http.post('/api' + '/app/updateRecord', params)
    },
    //根据模拟机类型获取试题
    getQuestionsByType(machineType) {
        return http.get('/api' + '/app/getQuestionsByType/' + machineType)
    },
    //验证身份后六位
    checkExaminerByIdCard(idCard, examinerId) {
        return http.get('/api' + '/app/checkExaminerByIdCard/' + idCard + '/' + examinerId)
    },
    //验证k考官身份后六位
    ExaminerCheckByIdcard(idCard, examinerId) {
        return http.get('/api' + '/app/ExaminerCheckByIdcard/' + idCard)
    },
}

